package com.sumi.erp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sumi.common.annotation.Excel;
import com.sumi.common.core.domain.BaseEntity;

/**
 * 企业工商数据对象 base_partner_information
 * 
 * @author fgf67@163.com
 * @date 2024-06-27
 */
public class BasePartnerInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 企业工商信息id */
    private Long id;

    /** 商业伙伴id */
    @Excel(name = "商业伙伴id")
    private Long partnerId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String partnerName;

    /** 法定代表人 */
    @Excel(name = "法定代表人")
    private String operName;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 营业期限自 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "营业期限自", width = 30, dateFormat = "yyyy-MM-dd")
    private Date termStart;

    /** 营业期限至 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "营业期限至", width = 30, dateFormat = "yyyy-MM-dd")
    private Date teamEnd;

    /** 核准日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "核准日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 登记状态 */
    @Excel(name = "登记状态")
    private String status;

    /** 登记机关 */
    @Excel(name = "登记机关")
    private String belongOrg;

    /** 所在省份缩写 */
    @Excel(name = "所在省份缩写")
    private String province;

    /** 记录更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedDate;

    /** 信用代码 */
    @Excel(name = "信用代码")
    private String creditCode;

    /** 注册号或统一社会信用代码，默认统一社会信用代码 */
    @Excel(name = "注册号或统一社会信用代码，默认统一社会信用代码")
    private String registNo;

    /** 注册资本 */
    @Excel(name = "注册资本")
    private String registCapi;

    /** 类型 */
    @Excel(name = "类型")
    private String econKind;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String scope;

    /** 是否可用(1启用，0停用) */
    @Excel(name = "是否可用(1启用，0停用)")
    private Integer isAvailable;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createUid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPartnerId(Long partnerId) 
    {
        this.partnerId = partnerId;
    }

    public Long getPartnerId() 
    {
        return partnerId;
    }
    public void setPartnerName(String partnerName) 
    {
        this.partnerName = partnerName;
    }

    public String getPartnerName() 
    {
        return partnerName;
    }
    public void setOperName(String operName) 
    {
        this.operName = operName;
    }

    public String getOperName() 
    {
        return operName;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setTermStart(Date termStart) 
    {
        this.termStart = termStart;
    }

    public Date getTermStart() 
    {
        return termStart;
    }
    public void setTeamEnd(Date teamEnd) 
    {
        this.teamEnd = teamEnd;
    }

    public Date getTeamEnd() 
    {
        return teamEnd;
    }
    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setBelongOrg(String belongOrg) 
    {
        this.belongOrg = belongOrg;
    }

    public String getBelongOrg() 
    {
        return belongOrg;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setUpdatedDate(Date updatedDate) 
    {
        this.updatedDate = updatedDate;
    }

    public Date getUpdatedDate() 
    {
        return updatedDate;
    }
    public void setCreditCode(String creditCode) 
    {
        this.creditCode = creditCode;
    }

    public String getCreditCode() 
    {
        return creditCode;
    }
    public void setRegistNo(String registNo) 
    {
        this.registNo = registNo;
    }

    public String getRegistNo() 
    {
        return registNo;
    }
    public void setRegistCapi(String registCapi) 
    {
        this.registCapi = registCapi;
    }

    public String getRegistCapi() 
    {
        return registCapi;
    }
    public void setEconKind(String econKind) 
    {
        this.econKind = econKind;
    }

    public String getEconKind() 
    {
        return econKind;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setScope(String scope) 
    {
        this.scope = scope;
    }

    public String getScope() 
    {
        return scope;
    }
    public void setIsAvailable(Integer isAvailable) 
    {
        this.isAvailable = isAvailable;
    }

    public Integer getIsAvailable() 
    {
        return isAvailable;
    }
    public void setCreateUid(Long createUid) 
    {
        this.createUid = createUid;
    }

    public Long getCreateUid() 
    {
        return createUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("partnerId", getPartnerId())
            .append("partnerName", getPartnerName())
            .append("operName", getOperName())
            .append("startDate", getStartDate())
            .append("termStart", getTermStart())
            .append("teamEnd", getTeamEnd())
            .append("checkDate", getCheckDate())
            .append("status", getStatus())
            .append("belongOrg", getBelongOrg())
            .append("province", getProvince())
            .append("updatedDate", getUpdatedDate())
            .append("creditCode", getCreditCode())
            .append("registNo", getRegistNo())
            .append("registCapi", getRegistCapi())
            .append("econKind", getEconKind())
            .append("address", getAddress())
            .append("scope", getScope())
            .append("isAvailable", getIsAvailable())
            .append("createTime", getCreateTime())
            .append("createUid", getCreateUid())
            .toString();
    }
}
